package com.ruoyi.test5.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 资源请求对象 resourcerequest
 * 
 * @author 22082112
 * @date 2025-07-10
 */
public class Resourcerequest extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String requestId;

    /** 发起请求的团队编号 */
    @Excel(name = "发起请求的团队编号")
    private String teamId;

    /** 请求的设备ID */
    @Excel(name = "请求的设备ID")
    private Long equipmentId;

    /** 请求的设备数量 */
    @Excel(name = "请求的设备数量")
    private Long equipmentQuantity;

    /** 请求的物资ID */
    @Excel(name = "请求的物资ID")
    private Long materialId;

    /** 请求的物资数量 */
    @Excel(name = "请求的物资数量")
    private Long materialQuantity;

    /** 请求原因 */
    @Excel(name = "请求原因")
    private String requestReason;

    /** 请求发起时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "请求发起时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date requestTime;

    /** 期望获取时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "期望获取时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date expectedDate;

    /** 审批人 */
    @Excel(name = "审批人")
    private String approver;

    /** 审批时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审批时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date approvalTime;

    /** 审批备注 */
    @Excel(name = "审批备注")
    private String approvalRemark;

    /** 状态 */
    @Excel(name = "状态")
    private Long statusId;

    public void setRequestId(String requestId) 
    {
        this.requestId = requestId;
    }

    public String getRequestId() 
    {
        return requestId;
    }

    public void setTeamId(String teamId) 
    {
        this.teamId = teamId;
    }

    public String getTeamId() 
    {
        return teamId;
    }

    public void setEquipmentId(Long equipmentId) 
    {
        this.equipmentId = equipmentId;
    }

    public Long getEquipmentId() 
    {
        return equipmentId;
    }

    public void setEquipmentQuantity(Long equipmentQuantity) 
    {
        this.equipmentQuantity = equipmentQuantity;
    }

    public Long getEquipmentQuantity() 
    {
        return equipmentQuantity;
    }

    public void setMaterialId(Long materialId) 
    {
        this.materialId = materialId;
    }

    public Long getMaterialId() 
    {
        return materialId;
    }

    public void setMaterialQuantity(Long materialQuantity) 
    {
        this.materialQuantity = materialQuantity;
    }

    public Long getMaterialQuantity() 
    {
        return materialQuantity;
    }

    public void setRequestReason(String requestReason) 
    {
        this.requestReason = requestReason;
    }

    public String getRequestReason() 
    {
        return requestReason;
    }

    public void setRequestTime(Date requestTime) 
    {
        this.requestTime = requestTime;
    }

    public Date getRequestTime() 
    {
        return requestTime;
    }

    public void setExpectedDate(Date expectedDate) 
    {
        this.expectedDate = expectedDate;
    }

    public Date getExpectedDate() 
    {
        return expectedDate;
    }

    public void setApprover(String approver) 
    {
        this.approver = approver;
    }

    public String getApprover() 
    {
        return approver;
    }

    public void setApprovalTime(Date approvalTime) 
    {
        this.approvalTime = approvalTime;
    }

    public Date getApprovalTime() 
    {
        return approvalTime;
    }

    public void setApprovalRemark(String approvalRemark) 
    {
        this.approvalRemark = approvalRemark;
    }

    public String getApprovalRemark() 
    {
        return approvalRemark;
    }

    public void setStatusId(Long statusId) 
    {
        this.statusId = statusId;
    }

    public Long getStatusId() 
    {
        return statusId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("requestId", getRequestId())
            .append("teamId", getTeamId())
            .append("equipmentId", getEquipmentId())
            .append("equipmentQuantity", getEquipmentQuantity())
            .append("materialId", getMaterialId())
            .append("materialQuantity", getMaterialQuantity())
            .append("requestReason", getRequestReason())
            .append("requestTime", getRequestTime())
            .append("expectedDate", getExpectedDate())
            .append("approver", getApprover())
            .append("approvalTime", getApprovalTime())
            .append("approvalRemark", getApprovalRemark())
            .append("statusId", getStatusId())
            .toString();
    }
}
